package xyz.zdsoft.project_group_manage_module.service;

import org.springframework.stereotype.Service;
import xyz.zdsoft.project_group_manage_module.mapper.UpdateTeamLeaderGchMapper;

import javax.annotation.Resource;
import java.util.HashMap;

@Service
public class UpdateTeamLeaderGchService {
    @Resource
    private UpdateTeamLeaderGchMapper updateTeamLeaderGchMapper;

    public Integer updateTeamLeader(HashMap<String,Object> map){
        return updateTeamLeaderGchMapper.UpdateTeamLeader(map);
    }

    public void updateTeamNoLeader(HashMap<String,Object> map){
        updateTeamLeaderGchMapper.UpdateTeamNoLeader(map);
    }
}
